#include "MovementAffectorFactory.h"
#include "MovementAffector.h"

namespace Destiny
{
	CMovementAffectorFactory* CMovementAffectorFactory::mSelf = NULL ;

	CMovementAffectorFactory::CMovementAffectorFactory(void)
	{
	}


	CMovementAffectorFactory::~CMovementAffectorFactory(void)
	{
	}

	Ogre::ParticleAffector* CMovementAffectorFactory::createAffector(Ogre::ParticleSystem* psys)
	{
		Ogre::ParticleAffector* pAffector = OGRE_NEW CMovementAffector(psys) ;
		mAffectors.push_back( pAffector ) ;
		return pAffector ;
	}
}
